<?php
defined('_JEXEC') or die('Restricted access');



?>

<div class="container galeria-imagens">
<h3>Galeria de Imagens</h3>

<?php 

echo '<h4 class="title">Lista de Categorias</h4>';


?>

	<ul>
		<?php 
			$i=0;
			foreach ($this->categories as $ck => $cv)
			
			{
				
								
				$imageThumb = $cv->linkthumbnailpath;
				$title = $cv-> title;
				$linkorig = $cv->linkorig;
								
				?>
					<li <?php if ($i % 4 == 3 ) echo "class='itemrg'";?>  >
						
						<span class="title"><?php echo $title ?></span>
						<a  href="<?php echo $cv->link?>" title="<?php echo $title ?>">
						<img alt="" src="<?php echo $imageThumb;?>">
						</a>
					</li>
				<?php 
				$i++;
			}
			

		?>
	</ul>




</div>

